package net.stogi.dsper.ui.shared.module.datasource;

import java.util.List;

import net.stogi.common.gwt.dispatch.shared.core.Result;
import net.stogi.dsper.api.dto.DataSourceDto;

public class ListDataSourcesResult implements Result {

	private static final long serialVersionUID = -7871005137488021084L;

	private List<DataSourceDto> dataSources;

	public ListDataSourcesResult(List<DataSourceDto> dataSources) {
		this.dataSources = dataSources;
	}

	protected ListDataSourcesResult() {}

	/**
	 * @return the dataSourceList
	 */
	public List<DataSourceDto> getDataSources() {
		return dataSources;
	}

	/**
	 * @param dataSourceList
	 *          the dataSourceList to set
	 */
	public void setDataSources(List<DataSourceDto> dataSources) {
		this.dataSources = dataSources;
	}
}
